import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

/*-----------特殊人群-----------*/
const serviceName = '/sjsk-crowmanage-service'
const apply = (params) => postAction(`${serviceName}/specialPopul/apply`, params)
const revoke = (params) => postAction(`${serviceName}/specialPopul/revoke`, params)
const viewPopul = (params) => postAction(`${serviceName}/specialPopul/viewPopul`, params)
const viewPopulDetails = (params) => postAction(`${serviceName}/specialPopul/viewPopulDetails`, params)
const resubmit = (params) => postAction(`${serviceName}/specialPopul/resubmit`, params)
const urge = (params) => getAction(`/sjsk-flow-service/processApproval/urge`, params)
const specialDelete = (params) => postAction(`${serviceName}/specialPopul/specialDelete`, params)

export { apply, revoke, viewPopul, viewPopulDetails, resubmit, urge, specialDelete }
